ScssPhp\ScssPhp\Parser D

Total Complexity 836
Dependencies 22
Dependents 2
Total lines 4,172
Lines of code 2,537
Logical lines of code 1,553
Comment lines 783
Methods 74
Properties 21

Methods 74

Method Rating Maintainability Complexity Lines of code
parseChunk()
D
0
198 501
selectorSingle()
D
22
65 165
isPlainCssValidElement()
D
25
50 149
value()
D
26
46 142
supportsQuery()
C
33 29 102
openString()
B
41 22 49
genericList()
B
38 20 69
directiveValue()
B
46 20 40
string()
B
40 18 59
enclosedExpression()
A
46 16 38
expHelper()
A
48 16 30
func()
A
46 15 36
keyword()
A
43 14 49
whitespace()
A
40 13 57
mediaQuery()
A
47 14 35
matchEscapeCharacter()
A
47 13 32
expression()
A
46 12 41
parse()
A
44 11 45
interpolation()
A
47 11 37
selector()
A
49 10 31
functionCallArgumentsList()
A
54 10 22
propertyName()
A
49 9 33
matchEscapeCharacterInSelector()
A
49 9 29
argumentDef()
A
47 8 38
customProperty()
A
48 8 36
map()
A
52 8 25
mediaExpression()
A
56 8 19
argumentList()
S
51 7 27
mixedKeyword()
S
53 7 25
url()
S
55 7 21
__construct()
S
53 7 21
isKnownGenericDirective()
S
47 5 39
registerPushedBlock()
S
51 5 27
matchString()
S
53 5 22
parenValue()
S
55 5 22
assertPlainCssValid()
S
55 5 20
selectors()
S
56 5 19
argValue()
S
55 5 19
append()
S
56 5 18
progid()
S
56 5 18
stripAssignmentFlags()
S
58 5 14
matchChar()
S
61 5 13
unit()
S
60 5 12
getSourcePosition()
S
57 4 17
placeholder()
S
59 4 16
variable()
S
58 4 16
popBlock()
S
58 4 16
match()
S
59 4 14
literal()
S
60 4 13
parseSelector()
S
55 3 18
parseError()
S
57 3 16
saveEncoding()
S
68 4 6
end()
S
65 4 9
restrictedKeyword()
S
65 4 8
color()
S
61 3 12
extractLineNumbers()
S
61 3 12
flattenList()
S
69 3 6
restoreEncoding()
S
73 3 5
argValues()
S
63 2 11
last()
S
66 2 8
stripOptionalFlag()
S
63 2 10
appendComment()
S
70 2 6
peek()
S
66 2 8
parseMediaQueryList()
S
62 1 12
parseValue()
S
62 1 12
getSourceName()
S
82 1 3
pushBlock()
S
71 1 6
spaceList()
S
79 1 3
throwParseError()
S
70 1 7
pushSpecialBlock()
S
73 1 5
pregQuote()
S
79 1 3
valueList()
S
68 1 7
seek()
S
81 1 3
mediaQueryList()
S
78 1 3